home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 23 / AMIGAplus Sonderheft 23 (2000)(Falke)(DE)[!].iso / Updates / Librarys / MMULib / Include / mmu / mmubase.h < prev    next >
C/C++ Source or Header  |  1999-10-30  |  2KB  |  54 lines

  1. /*************************************************************************
  2.  ** mmu.library                                                         **
  3.  **                                                                     **
  4.  ** a system library for arbitration and control of the MC68K MMUs      **
  5.  **                                                                     **
  6.  ** © 1998 THOR-Software, Thomas Richter                                **
  7.  ** No commercial use, reassembly, modification without prior, written  **
  8.  ** permission of the authors.                                          **
  9.  ** Including this library in any commercial software REQUIRES a        **
  10.  ** written permission and the payment of a small fee.                  **
  11.  **                                                                     **
  12.  **---------------------------------------------------------------------**
  13.  ** Definition of the library base                                      **
  14.  ** and of the MMU configurations                                       **
  15.  **                                    **
  16.  ** $VER: 40.50 (31.10.99)                        **
  17.  *************************************************************************/
  18.  
  19. #ifndef MMU_MMUBASE_H
  20. #define MMU_MMUBASE_H
  21.  
  22. #ifndef EXEC_LIBRARIES_H
  23. #include <exec/libraries.h>
  24. #endif
  25.  
  26. /* There's really nothing in this library base you need to care about */
  27.  
  28. struct MMUBase {
  29.         struct Library  mulib_Library;
  30.         /* more below this point */
  31. };
  32.  
  33. #define MMU_NAME "mmu.library"
  34.  
  35. /* definitions of the known MMU types */
  36.  
  37.  
  38. #define MUTYPE_NONE             0       
  39. /* no MMU detected */
  40.  
  41. #define MUTYPE_68851            '2'
  42. /* 68020/68851 MMU */
  43.  
  44. #define MUTYPE_68030            '3'
  45. /* 68030 MMU */
  46.  
  47. #define MUTYPE_68040            '4'
  48. /* 68040 MMU */
  49.  
  50. #define MUTYPE_68060            '6'
  51. /* 68060 MMU */
  52.  
  53. #endif
  54.